//
// Created by A4-28 on 2020/10/23.
//

#include "VertexArray.h"

namespace WF {
    VertexArray::VertexArray(std::vector<Vertex> vertices, std::vector<unsigned int> indices) {
        VBO = VertexBuffer::Create(vertices);
        EBO = ElementBuffer::Create(indices);
    }
    VertexArray::~VertexArray() {
        //unbind
        //delete
    }
}